<template>
  <el-button type="primary" size="default" title="测试">测试</el-button>
  <el-card shadow="always" :body-style="{ padding: '20px' }">
    <template #header>
      <div>
        <span><!-- card title --></span>
      </div>
    </template>
    <!-- card body -->
  </el-card>

  <router-view></router-view>
</template>
<script setup lang="ts">
import { ElMessage } from "element-plus";
import { onMounted } from "vue"
onMounted(() => {
  ElMessage({
    type: "success",
    message: "sf"
  })
})
</script>
<style scoped></style>